﻿<UserControl x:Class="Hockey.UILayer.Views.NavigationBar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ctrl="clr-namespace:Hockey.UILayer.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <Style x:Key="uxStyleButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
            <Setter Property="Margin" Value="10" />
            <Setter Property="FontWeight" Value="Bold" />
            <Setter Property="FontStretch" Value="Expanded" />
            <Setter Property="FontSize" Value="20" />
        </Style>
    </UserControl.Resources>
    <Viewbox>
        <Grid Width="300" Height="80">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*" />
                <ColumnDefinition Width="1*" />
                <ColumnDefinition Width="1*" />
                <ColumnDefinition Width="1*" />
            </Grid.ColumnDefinitions>
        
            <ctrl:SquarePanel Grid.Column="0">
                <Button Content="|&lt;" Style="{StaticResource uxStyleButton}" Command="{Binding Path=MoveToBeginningCommand}" />
            </ctrl:SquarePanel>
        
            <ctrl:SquarePanel Grid.Column="1">
                <Button Content="&lt;&lt;" Style="{StaticResource uxStyleButton}" Command="{Binding Path=MoveBackCommand}" />
            </ctrl:SquarePanel>
        
            <ctrl:SquarePanel Grid.Column="2">
                <Button Content="&gt;&gt;" Style="{StaticResource uxStyleButton}" Command="{Binding Path=MoveForwardCommand}" />
            </ctrl:SquarePanel>

            <ctrl:SquarePanel Grid.Column="3">
                <Button Content="&gt;|" Style="{StaticResource uxStyleButton}" Command="{Binding Path=MoveToEndCommand}" />
            </ctrl:SquarePanel>        
        </Grid>
        </Viewbox>
</UserControl>
